package com.yq.ylmall.vo.user;

import com.yq.ylmall.model.user.UserAddress;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @Project: yourlife
 * @Name: UserBaseVo
 * @Author: Jack_Li
 * @Date: 2024/6/16 19:09
 */

@Data
@ApiModel(description = "登录用户基本信息")
public class UserBaseDetailVo {

    @ApiModelProperty(value = "用户ID")
    private Long id;

    @ApiModelProperty(value = "用户名")
    private String username;

    @ApiModelProperty(value = "昵称")
    private String nickName;

    @ApiModelProperty(value = "头像")
    private String avatar;

    @ApiModelProperty(value = "性别")
    private Integer sex;

    @ApiModelProperty(value = "电话号码")
    private String phone;

    @ApiModelProperty(value = "用户地址")
    private List<UserAddress> userAddressList = new ArrayList<>();

}
